//
//  TopicCellModel.m
//  LoveHappyShopping
//
//  Created by 白水非泉 on 16/6/27.
//  Copyright © 2016年 白水非泉. All rights reserved.
//

#import "TopicCellModel.h"

@implementation TopicCellModel
-(instancetype)initWithDict:(NSDictionary *)dict{
    if (self=[super init]) {
        self.bannerUrl=dict[@"bannerUrl"];
        self.topicContentId=[dict[@"topicContentId"] intValue];
    }
    return self;
}
+(instancetype)cellModelWithDict:(NSDictionary *)dict{
    return [[self alloc]initWithDict:dict];
}
@end
